ExamPlay Light Logo
تسجيل الدخول

Computer Science for IGCSE & O level - Programming (Section 8 - No. 41)

What will be the output from the code below? `IF age >= 18 THEN PRINT "You are an adult" ENDIF`
You are an adult
You are not an adult
The code will throw an error
Nothing will be displayed if age < 18

توضيح

The program will print "You are an adult" if the age is greater or equal to 18, else nothing will be displayed

تعليقات (0)

تسجيل الدخول للتعليق
إعلان
BrainBehindX Inc Logo
©2026; مدعوم من BrainBehindX Inc